package com.petRescueCenter.demo.voluntary.dao;

import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;
import org.springframework.stereotype.Repository;

import com.petRescueCenter.demo.voluntary.entity.Volunteer;

@Repository
public interface VolunteerDao extends PagingAndSortingRepository<Volunteer, Long>, JpaSpecificationExecutor<Volunteer> {

	public Volunteer findByUserId(Long id);
}
